package com.strange.mdl.module.mdl.dal.mysql.activity;

import java.util.*;

import com.strange.mdl.framework.common.pojo.PageResult;
import com.strange.mdl.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.strange.mdl.framework.mybatis.core.mapper.BaseMapperX;
import com.strange.mdl.module.mdl.dal.dataobject.activity.ActivityDO;
import org.apache.ibatis.annotations.Mapper;
import com.strange.mdl.module.mdl.controller.admin.activity.vo.*;

/**
 * 活动 Mapper
 *
 * @author 密谛灵总控
 */
@Mapper
public interface ActivityMapper extends BaseMapperX<ActivityDO> {
    List<ActivityDO> lastActivityTwo();

//    default PageResult<ActivityDO> selectPage(ActivityPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<ActivityDO>()
//                .eqIfPresent(ActivityDO::getTitle, reqVO.getTitle())
//                .orderByDesc(ActivityDO::getId));
//    }

}